const children_arr = [
	// 应用管理模块下的路径
	{
		path: "/application/siteManage",
		name: "siteManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "siteManage" */ "../views/application/siteManage/index"
				)
	},
	{
		path: "/application/attributeManage",
		name: "attributeManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "attributeManage" */ "../views/application/attributeManage/index"
				)
	},
	{
		path: "/application/dictionaryManage",
		name: "dictionaryManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "dictionaryManage" */ "../views/application/dictionaryManage/index"
				)
	},
	{
		path: "/application/documentManage",
		name: "documentManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "documentManage" */ "../views/application/documentManage/index"
				)
	},
	{
		path: "/application/eventManage",
		name: "eventManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "eventManage" */ "../views/application/eventManage/index"
				)
	},
	{
		path: "/application/labelManage",
		name: "labelManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "labelManage" */ "../views/application/labelManage/index"
				)
	},
	{
		path: "/application/serviceManage",
		name: "serviceManage",
		meta: {
			parentName: "application"
		},
		component: () =>
			import(
				/* webpackChunkName: "serviceManage" */ "../views/application/serviceManage/index"
				)
	}
];

const application_obj = {
	path: "/application",
	name: "application",
	redirect: "/application/siteManage",
	meta: {
		title: "应用管理",
		icon: "el-icon-menu",
	},
	component: () =>
		import(/* webpackChunkName: "application" */ "../views/application/index"),
	children: [...children_arr]
};
const edit_obj = {
	path: "/edit_document",
	name: "editDocument",
	component: () =>
		import(
			/* webpackChunkName: "document_edit" */ "../views/application/editDocument/index"
			)
};
export default {
	application_obj,
	edit_obj
};
// export default application_obj
